package com.example.recyclerviewdata305szxtcase.service;

import com.example.recyclerviewdata305szxtcase.bean.tcaseBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by 单不闲 on 2017/4/24.
 */

public interface tcaseService {
    @GET("api.php/lists/mod/{mod}")
    Call<List<tcaseBean>> getResult(
            @Path("mod")String mod,
            @Query("page") int page,
            @Header("SessionID")String SessionID

    );
}
